package com.example.tms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 绩效考核周期实体类
 * 对应数据库performance表
 */
@Data
@TableName("performance")
public class Performance {
    @TableId(value = "per_id", type = IdType.AUTO)
    private Integer perId;
    @TableField("per_name")
    private String perName;
    @TableField("start_date")//开始时间
    private String startDate;
    @TableField("end_date")//结束时间
    private String endDate;
    @TableField("created_at")//创建时间
    private String createdAt;
    @TableField("updated_at")//更新时间
    private String updatedAt;
    @TableField("is_deleted")//是否删除
    private Integer isDeleted;
    @TableField("creator_id")//创建者ID
    private Integer creatorId;
    @TableField("description")   // 描述
    private String description;

    public Integer getPerId() {
        return perId;
    }
    
    public void setPerId(Integer perId) {
        this.perId = perId;
    }
    
    public Integer getIsDeleted() {
        return isDeleted;
    }
    
    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }
    
    public Integer getCreatorId() {
        return creatorId;
    }
    
    public void setCreatorId(Integer creatorId) {
        this.creatorId = creatorId;
    }
    
    public String getPerName() {
        return perName;
    }

    public void setPerName(String perName) {
        this.perName = perName;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(String createdAt) {
        this.createdAt = createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}




